Skip to content

Add deprecated_reason support for arguments#46

Open
rimian wants to merge 2 commits intokhamusa:masterfrom
rimian:master
Open

Add deprecated_reason support for arguments#46
rimian wants to merge 2 commits intokhamusa:masterfrom
rimian:master

Conversation

@rimian
Copy link
Copy Markdown
Contributor

@rimian rimian commented Mar 11, 2022

This extends the accepts_argument matcher adding support for deprecated arguments which was introduced here.

Usage:

describe MyObject do
  subject { described_class }

  it { is_expected.to accept_argument(:published).with_deprecation_reason }
end

I also added some dependency requirements to the readme :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant